Use PEDeleteNthGroupSortField to remove the specified group sort field from the sort order. This function is used as part of a Custom
This function can be used by itself to delete an existing group sort field when the sort field number is already known or as one of a series of functions (PEGetNGroupSortFields called once; PEGetNthGroupSortField and PEGetHandleString called together as many times as needed to identify the correct sort field; and PEDeleteNthGroupSortField called once, when the correct sort field is identified). The series can be used in a Custom
BOOL CRPE_API PEDeleteNthGroupSortField (
short printJob,
short sortFieldN );
This function should be called before PEStartPrintJob or the results may be inconsistent or unexpected.
Declare Function PEDeleteNthGroupSortField Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal SortFieldN As Integer ) As Integer
function PEDeleteNthGroupSortField (
printJob: Word;
sortFieldN: integer
): Bool stdcall;
EXTERN CLOGICAL PEDeleteNthGroupSortField (CWORD, CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |